package com.hyt.it.ogt.kq.service.gov.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.kq.service.gov.model.entity.TimeRoomPassword;
import com.hyt.it.ogt.kq.service.gov.model.param.TimeRoomPasswordParam;
import com.hyt.it.ogt.kq.service.gov.model.vo.TimeRoomPasswordVO;
import com.hyt.model.PageParam;


/**
 * <p>
 * 场次密码信息表 服务类
 * </p>
 *
 * @author huangyh
 * @since 2021-04-08
 */
public interface ITimeRoomPasswordService extends IService<TimeRoomPassword> {

    /**
     * 初始化场次密码
     * @param taskId
     * @param timeId
     */
    void initTimeRoomPassword(String taskId, String timeId);

    /**
     * 获取场次密码
     * @param pageParam
     * @param timeRoomPasswordParam
     * @return
     */
    Page<TimeRoomPasswordVO> page(PageParam<TimeRoomPasswordVO> pageParam, TimeRoomPasswordParam timeRoomPasswordParam);

    /**
     * 通过考试任务id获取场次密码数据
     * @param taskId
     * @return
     */
    List<TimeRoomPassword> getByTaskId(String taskId);

}
